import {API_DICT_INFO} from "@/constant/api";

export default new class dict {
    /**
     * 获取字典
     */
    getDict = (name: string) => {
        return useUtils().HttpUtils.get(API_DICT_INFO + "/" + name);
    }
};